<div class="page-home row-content am-cf">
    <!-- 统计 -->
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12 am-margin-bottom">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title">统计数据</div>
                </div>
                <div class="widget-body am-cf">
                    <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <div class="widget-card card__primary am-cf">
                            <div class="card-header">小程序总数</div>
                            <div class="card-body">
                                <div class="card-value"><?=$count['applet']['all']?></div>
                                <div class="card-description">当前代理小程序总数</div>
                                <span class="card-icon iconfont iconweixinxiaochengxu"></span>
                            </div>
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <div class="widget-card card__blue am-cf">
                            <div class="card-header">我的余额</div>
                            <div class="card-body">
                                <div class="card-value">0</div>
                                <div class="card-description">当前代理商账户余额</div>
                                <span class="card-icon iconfont iconqiandai"></span>
                            </div>
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <div class="widget-card card__violet am-cf">
                            <div class="card-header">用户余额</div>
                            <div class="card-body">
                                <div class="card-value">0</div>
                                <div class="card-description">当前用户总额度</div>
                                <span class="card-icon iconfont iconcaiwuguanli"></span>
                            </div>
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                        <div class="widget-card card__red am-cf">
                            <div class="card-header">提现总额</div>
                            <div class="card-body">
                                <div class="card-value">0</div>
                                <div class="card-description">当前代理商提现总额度</div>
                                <span class="card-icon iconfont icontongji"></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
	<!-- 订单统计 -->
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12 am-margin-bottom">
            <div class="widget am-cf">
                <div class="widget-head">
                    <div class="widget-title">交易统计</div>
                </div>
                <div class="widget-body am-cf">
                    <div class="am-u-sm-2">

                        <div class="widget-outline dis-flex flex-y-center">

                            <div class="outline-right dis-flex flex-dir-column flex-x-between">

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">今日成交金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['today']['20'] + $count['record']['today']['10']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    昨日：{$count['record']['today2']['20'] + $count['record']['today2']['10']}

                                </div>

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">本月成交金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['month']['20'] + $count['record']['month']['10']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    上月：{$count['record']['month2']['20'] + $count['record']['month2']['10']}

                                </div>

                            </div>

                        </div>

                    </div>

                    <div class="am-u-sm-2">

                        <div class="widget-outline dis-flex flex-y-center">

                            <div class="outline-right dis-flex flex-dir-column flex-x-between">

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">今日订单金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['today']['20']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    昨日：{$count['record']['today2']['20']}

                                </div>

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">本月订单金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['month']['20']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    上月：{$count['record']['month2']['20']}

                                </div>

                            </div>

                        </div>

                    </div>

                    <div class="am-u-sm-2">

                        <div class="widget-outline dis-flex flex-y-center">

                            <div class="outline-right dis-flex flex-dir-column flex-x-between">

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">今日充值金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['today']['10']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    昨日：{$count['record']['today2']['10']}

                                </div>

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">本月充值金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['month']['10']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    上月：{$count['record']['month2']['10']}

                                </div>

                            </div>

                        </div>

                    </div>

                    <div class="am-u-sm-2">

                        <div class="widget-outline dis-flex flex-y-center">

                            <div class="outline-right dis-flex flex-dir-column flex-x-between">

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">今日赠送金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['today']['40']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    昨日：{$count['record']['today2']['40']}

                                </div>

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">本月赠送金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['month']['40']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    上月：{$count['record']['month2']['40']}

                                </div>

                            </div>

                        </div>

                    </div>

                    <div class="am-u-sm-2">

                        <div class="widget-outline dis-flex flex-y-center">

                            <div class="outline-right dis-flex flex-dir-column flex-x-between">

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">今日退款金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['today']['30']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    昨日：{$count['record']['today2']['30']}

                                </div>

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">本月退款金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['month']['30']}    

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    上月：{$count['record']['month2']['30']} 

                                </div>

                            </div>

                        </div>

                    </div>

                    <div class="am-u-sm-2">

                        <div class="widget-outline dis-flex flex-y-center">

                            <div class="outline-right dis-flex flex-dir-column flex-x-between">

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">今日扣费金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['today']['50']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    昨日：{$count['record']['today2']['50']}

                                </div>

                                <div style="color: rgb(102, 102, 102); font-size: 1.2rem;">本月扣费金额</div>

                                <div style="color: rgb(51, 51, 51); font-size: 2.4rem;">

                                    {$count['record']['month']['50']}

                                </div>

                                <div style="color: rgb(153, 153, 153); font-size: 1.2rem;">

                                    上月：{$count['record']['month2']['30']}

                                </div>

                            </div>

                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
	<div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="help-block am-text-center">
                <small><?= $web['name']?>&nbsp;&nbsp;版权所有</small>
            </div>
        </div>
    </div>
</div>